%p
  %b
    User:
  = h @billing_order.user_id
%p
  %b
    Status:
  = h @billing_order.status
%p
  %b
    Action:
  = h @billing_order.action
%p
  %b
    Ref operation:
  = h @billing_order.ref_operation_id
%p
  %b
    Note:
  = h @billing_order.note
%p
  %b
    Ip address:
  = h @billing_order.ip_address
%p
  %b
    Account:
  = h @billing_order.account_id
%p
  %b
    Amount:
  = h @billing_order.amount
%p
  %b
    Amount tax:
  = h @billing_order.amount_tax
%p
  %b
    Amount shipping:
  = h @billing_order.amount_shipping
%p
  %b
    Amount total:
  = h @billing_order.amount_total
%p
  %b
    Created at:
  = h @billing_order.created_at
%p
  %b
    Updated at:
  = h @billing_order.updated_at
%hr
  %h1
    Listing billing_transactions
  %table
    %tr
      %th
        Order Id
      %th
        Status
      %th
        Kind
      %th
        Ammount
      %th
        auth_id approval code
      %th
        message
      %th
        note
      %th
        Created at
      %th
        Updated at
    - @billing_transactions.each do |tr|
    %tr
      %td
        = h tr.order_id
      %td
        = h tr.status
      %td
        = h tr.kind
      %td
        = h tr.amount
      %td
        = h tr.auth_id
      %td
        = h tr.message
      %td
        = h tr.note
      %td
        = h tr.created_at
      %td
        = h tr.updated_at
    - end
  %br
  = link_to 'Edit', edit_billing_order_path(@billing_order)
  |
  = link_to 'Back', billing_orders_path
